package org.example.day1.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.day1.entity.Card;

@Mapper
public interface CardMapper {
    //通过卡号查询余额
    @Select("select * from card where cardNo=#{cardNo}")
    public Card getCardByCardNo(String cardNo);
}